import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'
// 这是用于存储数据的仓库，持久化
const pinia = createPinia()

pinia.use(persist)
export default pinia
//导出pinia及持久化
export * from './modules/user'
export * from './modules/stuData'
export * from './modules/setting'
//导出所有的
